Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix shell/run: Use overlayfs #11706

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivan-tkatchev
Copy link

@ivan-tkatchev ivan-tkatchev commented Oct 16, 2024

Closes: #11704

@github-actions github-actions bot added the new-cli Relating to the "nix" command label Oct 16, 2024
@edolstra edolstra changed the title Fixes for #11704 nix shell/run: Use overlayfs Oct 16, 2024
Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!

Did you try to add a test case for this? It may be possible to run this as part of the regular functional test suite in tests/functional/; otherwise it could go in a NixOS VM test, tests/nixos/.

This will inevitably be developed further, to use an "overlay store" if possible, but that is not a requirement yet, so let's just make sure we have a good foundation by having a test for it.

It is also worth a mention in the manual (src/nix/run.md) and perhaps a release note.

@tomberek tomberek added the idea approved The given proposal has been discussed and approved by the Nix team. An implementation is welcome. label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea approved The given proposal has been discussed and approved by the Nix team. An implementation is welcome. new-cli Relating to the "nix" command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local chroot store does not work under NixOS
4 participants